<template>
  <div class="base-container">
    <div class="content-area">
      <div :class="['content-wrapper', { 'with-card': !$slots.welcome }]">
        <slot name="welcome"></slot>
        <slot></slot>
      </div>
    </div>
  </div>
</template>

<style scoped>
.base-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.content-area {
  width: 100%;
}

.content-wrapper {
  width: 100%;
}

.with-card {
  background: white;
  border: 1px solid #eaecef;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

@media (max-width: 768px) {
  .base-container {
    padding: 0;
    max-width: 100%;
  }
}
</style> 